import java.util.Scanner;

public class NSTEPSSingleIF {
	public static void main (String args[]) {
		Scanner in = new Scanner(System.in);
		
		//Enter number of testcases;
		int tescases = in.nextInt();
		
		while (tescases != 0) {
			int xCoordinate = in.nextInt();
			int yCoordinate = in.nextInt();
			int number;
			if ((xCoordinate == yCoordinate)) {
				if (((xCoordinate % 2) == 0) && ((yCoordinate % 2) == 0)) {
					number = (xCoordinate + yCoordinate);
				} else {
					number = (xCoordinate + yCoordinate - 1);
				}
				System.out.println(number);
			} else if ((xCoordinate - yCoordinate) == 2) {
				if (((xCoordinate % 2) == 0) && ((yCoordinate % 2) == 0)) {
					number = (xCoordinate + yCoordinate);
				} else {
					number = (xCoordinate + yCoordinate - 1);
				}
				System.out.println(number);
			} else {
				System.out.println("No Number");
			}
			tescases--;
		}
	}
}
